home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.9 KB | 36 lines | [TEXT/GEOL] |
- Item 2991480 18-Dec-89 06:47
-
- From: D5284 BDM Int'l, Ann Confer,PRT
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: 1.TTEViews & 2.Opening Applic
-
- I have two questions: one concerning opening a MacApp application, the other
- concerning the implementation of a TTEView in ViewEdit.
-
- 1. I have an application that was built in MacApp that generates an Expection
- #2 bad address error (requiring a complete reboot of the machine) whenever I
- open the application by double-clicking on the application icon. If I select
- the icon and use the Open command, it opens fine (I still get occasional system
- bombs but these do not occur with any identified regularity). Other
- applications do not have this problem. Is there something that typically
- causes this problem?
-
- 2. I have a simple TWindow defined in ViewEdit. It has a TScroller as a
- subview and a TTEView as a subview of the TScroller. All are defined as
- enabled and shown. The TTEView is also defined to accept changes (the
- associated field in the object does get set to true in the application). In
- the application, text is read from a file and stuffed into the TTEView; however
- no editing of this displayed text is supported. The commands in the File menu
- are not enabled. I even tried explicitly calling DoSetupMenus for the TTEView,
- but the Cut and Copy commands are still disabled. In addition, the TTEView
- size is static. It truncates text that is longer than the size defined in
- ViewEdit. Isn't one of the TTEView methods supposed to resize the view based
- on the size of the text stuffed into it? The problem with defining a maximum
- size TTEView in ViewEdit is that the scroller is active even for a short piece
- of text that does not continue beyond the visible view. Is there a simple way
- to dynamically resize the TTEView based on the size of the text read from the
- file?
-
-